Source File
setutil_generic.go
Belonging Package
github.com/RoaringBitmap/roaring
//go:build !arm64 || gccgo || appengine// +build !arm64 gccgo appenginepackage roaringfunc union2by2( []uint16, []uint16, []uint16) int {:= 0:= 0:= 0if 0 == len() {= [:len()]copy(, [:])return len()}if 0 == len() {= [:len()]copy(, [:])return len()}:= []:= []= [:cap()]for {if < {[] =++++if >= len() {copy([:], [:])+= len() -break}= []} else if == {[] =++++++if >= len() {copy([:], [:])+= len() -break}if >= len() {copy([:], [:])+= len() -break}= []= []} else { // if (set1[k1]>set2[k2])[] =++++if >= len() {copy([:], [:])+= len() -break}= []}}return}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |